Fix map_pages_to_xen() to atomically switch between valid mappings.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Sun, 15 Apr 2007 20:56:38 +0000 (21:56 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Sun, 15 Apr 2007 20:56:38 +0000 (21:56 +0100)
commitc87744f312d460602373badbc2ae58d46b220f8c
treecea8511d18182a07d6cfe3765ccb023481b4e48b
parent7371dd7b91a403c45a4363c952697b0e71e1e434
Fix map_pages_to_xen() to atomically switch between valid mappings.
This is needed to successfully boot a debug=y build of xen on kvm.
Reported by Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/mm.c